

using System;
using System.Collections.Generic;
using System.Text;

namespace EntityLayer
{
    public class entMultilanguageSettings
    {
        #region Members
        private int _MultiLanguageSettingId;
        private int _PageId;
        private string _ControlId;
        private int _LanguageId;
        private string _ControlText;
        #endregion
        #region Properties
        public int MultiLanguageSettingId
        {
            get { return _MultiLanguageSettingId; }
            set { _MultiLanguageSettingId = value; }
        }
        public int PageId
        {
            get { return _PageId; }
            set { _PageId = value; }
        }
        public string ControlId
        {
            get { return _ControlId; }
            set { _ControlId = value; }
        }
        public int LanguageId
        {
            get { return _LanguageId; }
            set { _LanguageId = value; }
        }
        public string ControlText
        {
            get { return _ControlText; }
            set { _ControlText = value; }
        }
        #endregion
        #region Constuctors
        public entMultilanguageSettings(int parMultiLanguageSettingId)
        {
            this._MultiLanguageSettingId = parMultiLanguageSettingId;
        }
        public entMultilanguageSettings(int parPageId, string parControlId, int parLanguageId, string parControlText)
        {
            this._PageId = parPageId;
            this._ControlId = parControlId;
            this._LanguageId = parLanguageId;
            this._ControlText = parControlText;
        }
        public entMultilanguageSettings(int parMultiLanguageSettingId, int parPageId, string parControlId, int parLanguageId, string parControlText)
        {
            this._MultiLanguageSettingId = parMultiLanguageSettingId;
            this._PageId = parPageId;
            this._ControlId = parControlId;
            this._LanguageId = parLanguageId;
            this._ControlText = parControlText;
        }
        public entMultilanguageSettings()
        {
        }
        #endregion
        #region Methods
        public override string ToString()
        {
            return this.LanguageId.ToString() + "|" + this.PageId.ToString();
        }
        #endregion
    }
}